package clothes.tools.service;

import clothes.tools.pojo.Purchase;

import java.util.List;

public interface PurchaseService {


    public void addPurchase(Purchase purchase);

    public void deletePurchaseById(Integer id);

    public void updatePurchase(Purchase purchase);

    public Purchase queryPurchaseById(Integer id);

    public List<Purchase> queryPurchase();

    public List<Purchase> queryPurchase(String page,String limit);
}
